﻿using Iworld.Basis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Author.Model
{
    /// <summary>
    /// 充值卡信息
    /// </summary>
    public class RechargeCard : RecordingTimeModelBase
    {
        /// <summary>
        /// 卡号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 面值
        /// </summary>
        public double Golds { set; get; }

        /// <summary>
        /// 是否被使用
        /// </summary>
        public bool IsUsed { get; set; }

        /// <summary>
        /// 使用人
        /// </summary>
        public virtual Author UsedAuthor { get; set; }

        /// <summary>
        /// 使用的时间
        /// </summary>
        public DateTime? UsedTime { get; set; }

        /// <summary>
        /// 生成人的ID
        /// </summary>
        public int AdministratorId { set; get; }
    }
}
